package workers;

import java.util.concurrent.BlockingQueue;

import model.Software;
import workerUIs.StepFrame;
import workflow.IEventListener;
import workflow.step.RepairStep;

public class RepairStepWorker extends AbstractStepSwingWorker {

	public RepairStepWorker(StepFrame frame,
			final BlockingQueue<Software> inputQueue, final BlockingQueue<Software> outputQueue, final StepFrame nextFrame, final IEventListener listener) {
		super(frame, inputQueue, outputQueue, nextFrame, listener);
	}
	
	@Override
	protected String getTaskName() {
		return "repair";
	}
	
	@Override
	protected Software doStep(Software software) {
		return new RepairStep().doStep(software);
	}
}
